package com.exam.domain;

import java.sql.Timestamp;

/**
 * Created by jly on 2016/11/10.
 */
public class UserMessage {
    private int userId;

    /*用户名*/
    private String userName;

    /*用户密码*/
    private String userPassword;

    /*用户创建日期*/
    private Timestamp createTime;

    /*用户角色名称*/
    private String roleName;

    /*用户真实姓名*/
    private String tureName;

    /*用户邮箱*/
    private String mail;

    private int roleId;

    public String getTureName() {
        return tureName;
    }

    public void setTureName(String tureName) {
        this.tureName = tureName;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }


    public UserMessage() {
    }

    public UserMessage(int userId, String userName, String userPassword, Timestamp createTime, String roleName) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.createTime = createTime;
        this.roleName = roleName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
